#                                               -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_PREREQ(2.61)
AC_INIT([motora], [0.1-SNAPSHOT], [fscontato@gmail.com])
AC_CONFIG_SRCDIR([src/main.cpp])
AC_CONFIG_HEADER([config.h])

AM_INIT_AUTOMAKE

# Checks for programs.
AC_PROG_CC
AC_PROG_CXX

# Checks for libraries.
AC_CHECK_LIB([alleg-4.2.2], [main])
AC_CHECK_LIB([X11], [main])
AC_CHECK_LIB([Xcursor], [main])
AC_CHECK_LIB([Xext], [main])
AC_CHECK_LIB([Xpm], [main])
AC_CHECK_LIB([Xxf86vm], [main])
AC_CHECK_LIB([dl], [main])
AC_CHECK_LIB([m], [main])
AC_CHECK_LIB([pthread], [main])

AC_CONFIG_FILES([Makefile] [src/Makefile])
AC_OUTPUT
